package com.aliyun.messagemgt.application.service;


import com.aliyun.messagemgt.common.dto.send.PushChannelInfo;

import java.util.List;

/**
 * Created with IDEA
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/1/25
 * @time:15:52
 */
public interface PushChannelService {

//    /**
//     * 插入渠道信息
//     *
//     * @param pushChannelInfo
//     * @return
//     */
//    PushChannelInfo insertPushChannel(PushChannelInfo pushChannelInfo);

    /**
     * 根据id集合获取渠道信息
     *
     * @param channelIds
     * @return
     */
    List<PushChannelInfo> listChannelById(List<Integer> channelIds);

    /**
     * 获取所有的channel
     *
     * @return
     */
    List<PushChannelInfo> listAllChannel();

    /**
     * 通过channelId 查询渠道信息
     *
     * @param channelId id
     * @return 渠道
     */
    PushChannelInfo queryPushChannelInfoByChannelId(Integer channelId);
}
